import http from "@/utils/request"

export default {
	index: {
		method: `user.userPatient.index`,
		name: "就诊人列表",
		get: async function (data = {}) {
			return await http.post(this.method, data);
		}
	},
	store: {
		method: `user.user.store`,
		name: "用户保存",
		post: async function (data = {}) {
			return await http.post(this.method, data);
		}
	},
	changeStatus: {
		method: `user.user.changeStatus`,
		name: "改变用户状态",
		post: async function (data = {}) {
			return await http.post(this.method, data);
		}
	},
	deleteUser: {
		method: `user.user.deleteUser`,
		name: "删除用户",
		post: async function (data = {}) {
			return await http.post(this.method, data);
		}
	},
}
